package com.softeem.crm.controller;

import com.softeem.crm.base.BaseController;
import com.softeem.crm.service.CustomerReprieveService;
import com.softeem.crm.vo.CustomerReprieveQuery;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.Map;

@Controller
@RequestMapping("cus_reprieve")
public class CustomerReprieveController extends BaseController {
    @Resource
    private CustomerReprieveService customerReprieveService;

    @RequestMapping("list")
    @ResponseBody
    public Map<String,Object>  list(CustomerReprieveQuery customerReprieveQuery){
        return  customerReprieveService.queryByParamsForTable(customerReprieveQuery);
    }
}
